package com.auxgroup.smarthome.repo;


import com.auxgroup.smarthome.entity.RoleEntity;
import com.auxgroup.smarthome.entity.RoleTag;

/**
 * Created by kevinchen on 2016/12/26.
 */
public interface RoleRepo extends GenericDao<RoleEntity,String> {
    RoleEntity findByIdAndDisableFalse(String id);

    RoleEntity findByRoleName(String name);

    RoleEntity findBySpecialMark(String specialMark);

    RoleEntity findByRoleTag(RoleTag roleTag);

}
